home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / wf314.zip / WF311DOC.ZIP / DOCS / WF.018 < prev    next >
Text File  |  1992-01-31  |  14KB  |  356 lines

  1. .f3                              - # -              Chapter 18 - Columns & Tables
  2. .rm70
  3. .tc
  4. .tc 18. COLUMNS, TABLES & SNAKING COLUMNS .................#
  5. CHAPTER 18   COLUMNS, TABLES & SNAKING COLUMNS
  6.  
  7. .imColumns
  8. .imTables
  9. .imNewspaper Columns
  10. There are three methods of printing text in columnar format. These
  11. are:-
  12.  
  13.   ■ Multiple columns
  14.   ■ Tables
  15.   ■ Snaking columns or Newspaper columns
  16.  
  17. You would use the different methods depending upon the effects you
  18. wish to achieve on the printed page.
  19.  
  20. Multiple Columns and Tables will display several columns of text on
  21. the screen, while Snaking Columns only displays one column on the
  22. screen.
  23.  
  24. .Tc    Multiple Columns ...................................#
  25. Multiple Columns
  26.  
  27. .ixColumns;   Multiple Columns
  28. These display on screen, and are used when each column is independent
  29. of the other. Text that runs off the bottom of the page will start
  30. again on the next page in the same column. Each column will wrap text
  31. independently of the other columns.
  32.  
  33. .Tc       Activating ......................................#
  34. Activating
  35.  
  36. For Multiple columns to be active, you MUST have column mode turned
  37. ON. You do this by pressing Ctrl K N or from the Format Options sub
  38. menu of the Options menu (F10 O F C)
  39.  
  40. .Tc       Defining ........................................#
  41. Defining
  42.  
  43. Multiple Columns are indicated in the ruler line by < for the left
  44. margin and > for the right margin or ] for the right justified margin.
  45. When Word Wrap is active, text will wrap to stay within the margins
  46. (both left and right). A column is independent of any other columns,
  47. so text in a column will wrap downwards into blank lines in the
  48. column. If no blank lines are available, a blank line will be inserted
  49. at the end of the column to absorb the overflow. Each column may also
  50. have its own wrap margin, where text will wrap to.
  51.  
  52. For example, the ruler line below defines three columns of different
  53. widths. The ^ sign indicates the wrap margin for column 3 is different
  54. from the left margin for that column.
  55.  
  56.    .RR     <          >   <         >     <  ^              >
  57.  
  58.            this text is   this is         this is the third
  59.            in column      column 2           column, and text
  60.            one, and is                       will wrap
  61.            not related    the text           according to the
  62.            to any other   will wrap          W margin
  63.            column         if it does
  64.                           not fit
  65.    .RRL       !       !       !       !       !       !       R
  66.  
  67. You will note that each column has entries that end independently of
  68. each other. Wrapping slides the text in one column up and down without
  69. regard to the contents of other columns.
  70.  
  71. Multiple Columns are only active if Word Wrap is active, as well as
  72. Column Mode or Column replace mode. You need to turn off the columns
  73. when you have finished with them by placing your standard ruler line
  74. after them, and also manually turning off column mode.
  75.  
  76. .Tc    Tables .............................................#
  77. Tables
  78. .ixTables;Tables
  79.  
  80. Tables display on screen, and are used when each column is dependent
  81. upon the others. That is, data in one column must line up with that in
  82. the others.
  83.  
  84. .Tc       Activating ......................................#
  85. Activating
  86.  
  87. For Tables to be active, you MUST have column mode turned ON. You do
  88. this by pressing Ctrl K N or from the Format Options sub menu of the
  89. Options menu (F10 O F C)
  90.  
  91. .Tc       Defining ........................................#
  92. Defining
  93.  
  94. Tables are delimited in the ruler line by { for the left margin and
  95. either } or > for the right margin, or ] for the right justified
  96. margin. The columns of a table are terminated by a blank line. When a
  97. column of a table is wrapped, blank lines are inserted at the end of
  98. the table entry. This means that a blank line is looked for, or a dot
  99. command line, and blank lines are inserted before this line. This
  100. means that adjacent columns never have blank lines inserted in the
  101. middle.
  102.  
  103. For example, the ruler line below defines a table consisting of three
  104. columns of different widths. The ^ sign indicates the wrap margin for
  105. column 3 is different from the left margin for that column.
  106.  
  107.    .RR     {          }   {         }     {  ^              }
  108.            This is text   this is         this text is column
  109.            for the        text for           3 entry 1
  110.            first column   entry 1
  111.            of the table   column 2,
  112.                           and inserts
  113.                           lines
  114.                           before the
  115.                           next entry
  116.                                          ───── this is the end of the entry
  117.            This text      this text
  118.            belongs to     is for the
  119.            the second     second entry
  120.            entry for
  121.            the first
  122.            column of
  123.            the table
  124.  
  125.    .RRL       !       !       !       !       !       !       R
  126.  
  127.  
  128. You will note that a table has entries in adjacent columns, and the
  129. end of the entry has a blank line across the entire table. Wrapping
  130. slides the contents of one column up and down as required, but never
  131. pushes the text down below the blank line, instead inserting new lines
  132. before it as required to absorb the overflow of the column. Text that
  133. overflows the bottom of a page continues on the next page in the same
  134. column.
  135.  
  136. .Tc    Snaking Columns of Text ............................#
  137. Snaking Columns of Text
  138. .ixNewspaper Columns;
  139. .ixSnaking Columns;
  140.  
  141. These are also known as newspaper columns, because when the text in
  142. one column overflows the bottom of the page, it wraps around to the
  143. top of the next column in the same page. Only when all columns on a
  144. page are full does the overflow then wrap to the first column of the
  145. next page.
  146.  
  147. You do not turn on column mode for this to be effective, but instead
  148. mark newspaper columns by the use of dot commands:
  149.  
  150. .ixDot Commands;  .CO - Start newspaper columns
  151. .ixDot Commands;  .CC - Conditional column break
  152. .ixDot Commands;  .CB - Column break
  153. .ixDot Commands;  .CW - Character width
  154. .ixSnaking Columns;  .CO - Start newspaper columns
  155. .ixSnaking Columns;  .CC - Conditional column break
  156. .ixSnaking Columns;  .CB - Column break
  157. .ixSnaking Columns;  .CW - Character width
  158. .ixNewspaper Columns;  .CO - Start newspaper columns
  159. .ixNewspaper Columns;  .CC - Conditional column break
  160. .ixNewspaper Columns;  .CB - Column break
  161. .ixNewspaper Columns;  .CW - Character width
  162. .ixNewspaper Columns;
  163. .ixSnaking Columns;
  164. .ixCharacter Width;Character Width (.CW)
  165.         .CO n,g / w,w,w ...       - start of snaking columns
  166.            where
  167.                n = number of columns
  168.                g = width of the column gutter
  169.                w = width for each column. This is optional.
  170.                    default column width is 35 characters
  171.  
  172.         .CB  column break (like .PA) start a new column
  173.  
  174.         .CC n
  175.            conditional column break (like .CP) if less than n lines
  176.            remain in this column
  177.  
  178.         .CW r.r                  - character width
  179.     or  .CW n
  180.          where
  181.            r.r is a real number (must have a decimal point) and is the
  182.                character width ratio to normal (eg 2.0 means twice
  183.                normal width)
  184.  
  185.            n   is an integer (no decimal point) and means character
  186.                width in 1/120 of an inch (the Word star default)
  187.  
  188. .tc       Start Snaking Columns ...........................#
  189.   Start Snaking Columns
  190.  
  191.   For this you use the .CO command to set the number of columns, the
  192.   "gutter" width between them, and optionally the width of each
  193.   column.
  194.  
  195.         .CO 2  5 
  196.            where
  197.                number of columns = 2
  198.                number of characters between columns = 5
  199.                default column width is 35 characters for each column.
  200.  
  201.    For example, the index to this manual is printed in 2 column format
  202.    as specified above.
  203.  
  204.    If you want to have different co